package com.jwater.core.net.group;

import com.jwater.core.net.Node;
/**
 * @description:
 * @author: jnner
 * @createDate: 2021/2/5
 * @version: 1.0
 */
public interface GroupHandler {
	public void onJoin(int memberId, Node node);

	public void onLeave(int memberId, Node node);

	public void onMemberData(int memberId, Node node, String dataType, byte[] data);
	
	public byte[] onMemberCall(int memberId, Node node, String method, byte[] data);

	public void onDataItemEvent(DataItemEvent event);
}
